]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Go back to a shorter animation when locking manually
authorRui Matos <tiagomatos@gmail.com>
Mon, 25 Mar 2013 17:18:33 +0000 (18:18 +0100)
committerRui Matos <tiagomatos@gmail.com>
Tue, 26 Mar 2013 08:27:24 +0000 (09:27 +0100)
Increasing it was mostly to paper over animation jerkiness which
shouldn't be a problem anymore since we removed the desaturate and
blur effects.

https://bugzilla.gnome.org/show_bug.cgi?id=696380

js/ui/screenShield.js

index c9c154343c82dc692ca98440a0f60544b381fdb5..f8bf3ccb76251d6022a52ef88e74fba9e99d7d3e 100644 (file)
@@ -50,7 +50,7 @@ const SUMMARY_ICON_SIZE = 48;
 // - CURTAIN_SLIDE_TIME is used when raising the shield before unlocking
 // - INITIAL_FADE_IN_TIME is used for the initial fade in at startup
 const STANDARD_FADE_TIME = 10;
-const MANUAL_FADE_TIME = 0.8;
+const MANUAL_FADE_TIME = 0.3;
 const BACKGROUND_FADE_TIME = 1.0;
 const CURTAIN_SLIDE_TIME = 0.3;
 const INITIAL_FADE_IN_TIME = 0.25;